home *** CD-ROM | disk | FTP | other *** search
/ APDL Other Worlds / APDL Other Worlds Collection.iso / SF3000 / Extras / !SFskyedit / h / Back-end next >
Encoding:
Text File  |  2003-09-12  |  1.2 KB  |  32 lines

  1. /*
  2.  *  SFskyedit - Star Fighter 3000 sky colours editor
  3.  *  Back-end functions
  4.  *  Copyright (C) 2001  Chris Bazley
  5.  */
  6.  
  7. #ifndef SFSBackend_h
  8. #define SFSBackend_h
  9.  
  10. #include <stdbool.h>
  11. #include "SFformats.h"
  12.  
  13. extern char *clipboard;
  14. extern int clipboard_size;
  15.  
  16. extern void open_gap(SF_SkyColours **sky, int start_band, int size);
  17. extern char get_shade(SF_SkyColours **sky, int pos);
  18. extern void write_shade(SF_SkyColours **sky, int pos, char mode13col);
  19. extern void smooth_section(SF_SkyColours **sky, int start_band, int end_band);
  20. extern bool copy_to_clipboard(SF_SkyColours **sky, int start_band, int end_band);
  21. extern void insert_from_clipboard(SF_SkyColours **sky, int start_band);
  22. extern void wipe_clipboard(void);
  23. extern void plain_insert(SF_SkyColours **sky, int start_band, int size, char mode13col);
  24. extern void gradient_insert(SF_SkyColours **sky, int start_band, int size, char start_col, char end_col, unsigned int end_flags);
  25.  
  26.  
  27. extern void plain_overwrite(SF_SkyColours **sky, int start_band, int end_band, char mode13col);
  28. extern void remove_bands(SF_SkyColours **sky, int start_band, int end_band);
  29. extern void gradient_overwrite(SF_SkyColours **sky, int start_band, int end_band, char start_col, char end_col, unsigned int end_flags);
  30.  
  31. #endif
  32.